Dynomotion

Group: DynoMotion Message: 14704 From: tmday7 Date: 5/9/2017
Subject: Slow Percent Box Screen Editor
Hay Tom,
 Can the Slow Percent box on the Tool Setup>Trajectory Planner tab be added to the Custom screen by using the Screen Editor?

Thanks,
Troy


Group: DynoMotion Message: 14705 From: tmday7 Date: 5/9/2017
Subject: Re: Slow Percent Box Screen Editor
Or better yet, can the feedrate be used for continues jog buttons some how?
Group: DynoMotion Message: 14706 From: Tom Kerekes Date: 5/9/2017
Subject: Re: Slow Percent Box Screen Editor

Its not clear how that should work.  Maybe use the Rapid Speed Override Slider/setting to also change the Jog Rate?  But that could be confusing for the Operator.  We're open for suggestions.

I suppose if we added the capability for KFLOP to read the Rapid Rate Override then each User would have the power to handle it however they wish.

Regards

TK


On 5/9/2017 8:28 AM, tmday88@... [DynoMotion] wrote:
 

Or better yet, can the feedrate be used for continues jog buttons some how?


Group: DynoMotion Message: 14707 From: Tom Kerekes Date: 5/9/2017
Subject: Re: Slow Percent Box Screen Editor

Hi Troy,

I suppose that is possible using KFLOP's capability to set a Jog Speed Override.  See the attached examples that Get/Set the Jog Speed Override.

Combining that with code to read an Edit Control on a custom Screen should work.  See the Add.c example that reads two Edit Controls from the Screen.

Does that make sense and seem reasonable?

Regards

TK



On 5/9/2017 8:11 AM, tmday88@... [DynoMotion] wrote:
 

Hay Tom,
 Can the Slow Percent box on the Tool Setup>Trajectory Planner tab be added to the Custom screen by using the Screen Editor?

Thanks,
Troy



  @@attachment@@
Group: DynoMotion Message: 14708 From: tmday7 Date: 5/9/2017
Subject: Re: Slow Percent Box Screen Editor
 The way i use it now is set the Slow Percent to a percentage that will give me a feedrate i wish to jog at. My idea was to use whatever Feed rate is currently set to or by inputting a F command in MDI and setting feedrate. Then jog buttons would move axis at the current set Feedrate.

Troy
Group: DynoMotion Message: 14710 From: TKSOFT Date: 5/9/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Troy,

You should be able to add a Slow Jog Percentage the way I described
earlier. I suppose the entry edit control could also specify a feed
rate rather than a percentage. You could hard code in the C Program
what the Jog Speed were configured as and the C Program could do the
math. For example if the Jog Speed for an axis was configured for 5ips
and the operator enters 2ips (or 120ipm) then KFLOP could set the Jog
Speed Override to 0.4

I would think some Operators would find it annoying or confusing to have
the system Jog at the last entered feedrate or feedrate of the Job they
ran some time ago. Also not all Axes in the system may be possible to
Jog at that rate. If we added a command for KFLOP to read the current
feedrate they you would be able to make your system work like that if
you wish.

Regards
TK

On 2017-05-09 11:17, tmday88@... [DynoMotion] wrote:
> The way i use it now is set the Slow Percent to a percentage that
> will give me a feedrate i wish to jog at. My idea was to use whatever
> Feed rate is currently set to or by inputting a F command in MDI and
> setting feedrate. Then jog buttons would move axis at the current set
> Feedrate.
>
> Troy
>
>
Group: DynoMotion Message: 14712 From: tmday7 Date: 5/9/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Tom,

"
You should be able to add a Slow Jog Percentage the way I described
earlier. "

Using another DRO for jogging feedrate works ok for me. Will have to see if i can figure out as much as i can before i start bugging you on how to add it. ;)

" For example if the Jog Speed for an axis was configured for 5ips
and the operator enters 2ips (or 120ipm) then KFLOP could set the Jog
Speed Override to 0.4"

This brings up something that is a bit confusing to me. Why is it ips instead of standard ipm?
And why is the Feed and Rapid override DROs in KCNC a decimal format instead of percentage?

"I would think some Operators would find it annoying or confusing to have
the system Jog at the last entered feedrate or feedrate of the Job they
ran some time ago."


I kinda see how it might affect other users. But anyone who is used to industrial CNC controls, will operate jogging in the manner iam describing. Using current feedrate and FRO for continuous manual jogging.
Some controls use a percentage of currently selected incremental move similar to how KMotionCNC does it.

" Also not all Axes in the system may be possible to
Jog at that rate."

Wouldn't the axis just move at its maximum?
How does it work now?

Hope i dont sound like iam picking. :)

Thanks,
Troy
Group: DynoMotion Message: 14717 From: Tom Kerekes Date: 5/9/2017
Subject: Re: Slow Percent Box Screen Editor

Hi Troy,

No worries.  I'm trying to understand and find the most general approach.

Regarding ips vs ipm.  That's just to be confusing :)  The idea is to have all the parameters in consistent units of Time - seconds.   Jerk, Acceleration, and Velocity.  I think it is more common to use seconds when calculating trajectories and such.  But I realize Machinists like to use minutes as rates were typically very slow.  But the Machinists and Operators will never see those parameters anyway.

Because adding a Jog Rate the way I described is easy and doesn't require any KMotionCNC code changes I went ahead and did it.  Maybe you could try it out and see what you think.  I've attached a screen script and the associated C program.

Here is a Video describing how it works:

https://youtu.be/cEayXteMa-o

Regards

TK


On 5/9/2017 1:43 PM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,

"
You should be able to add a Slow Jog Percentage the way I described
earlier. "

Using another DRO for jogging feedrate works ok for me. Will have to see if i can figure out as much as i can before i start bugging you on how to add it. ;)

" For example if the Jog Speed for an axis was configured for 5ips
and the operator enters 2ips (or 120ipm) then KFLOP could set the Jog
Speed Override to 0.4"

This brings up something that is a bit confusing to me. Why is it ips instead of standard ipm?
And why is the Feed and Rapid override DROs in KCNC a decimal format instead of percentage?

"I would think some Operators would find it annoying or confusing to have
the system Jog at the last entered feedrate or feedrate of the Job they
ran some time ago."


I kinda see how it might affect other users. But anyone who is used to industrial CNC controls, will operate jogging in the manner iam describing. Using current feedrate and FRO for continuous manual jogging.
Some controls use a percentage of currently selected incremental move similar to how KMotionCNC does it.

" Also not all Axes in the system may be possible to
Jog at that rate."

Wouldn't the axis just move at its maximum?
How does it work now?

Hope i dont sound like iam picking. :)

Thanks,
Troy


  @@attachment@@
Group: DynoMotion Message: 14718 From: tmday7 Date: 5/10/2017
Subject: Re: Slow Percent Box Screen Editor
Thanks for the extra work on this Tom. This was a good positive surprise to see at work this morning, i needed after blowing a drive on my Hurco retrofit last night at home(Still dont know what happened).

Video is great. This is like Editing "for Dummies". :) Except this dummy can not get the code placed in my main INIT file correctly :} I am getting the following error... tcc: undefined symbol 'GetEditControlDouble'

Attached is my INIT file if you can look at it.

Thanks again,
Troy
  @@attachment@@
Group: DynoMotion Message: 14720 From: Tom Kerekes Date: 5/10/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]
Resending to Yahoo...

On 5/10/2017 10:53 AM, Tom Kerekes wrote:

Hi Troy,

Sorry to hear about your Drive.  But I always say if you don't blow something up once in a while then you aren't trying hard enough.

That function GetEditControlDouble should be included in the latest V4.34i KflopToKMotionCNCFunctions.c

Are you referencing an older Version?

Regards

TK


On 5/10/2017 5:22 AM, tmday88@... [DynoMotion] wrote:
 

Thanks for the extra work on this Tom. This was a good positive surprise to see at work this morning, i needed after blowing a drive on my Hurco retrofit last night at home(Still dont know what happened).

Video is great. This is like Editing "for Dummies". :) Except this dummy can not get the code placed in my main INIT file correctly :} I am getting the following error... tcc: undefined symbol 'GetEditControlDouble'

Attached is my INIT file if you can look at it.

Thanks again,
Troy



Group: DynoMotion Message: 14721 From: Tom Kerekes Date: 5/10/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]

Hi Troy,

Sorry to hear about your Drive.  But I always say if you don't blow something up once in a while then you aren't trying hard enough.

That function GetEditControlDouble should be included in the latest V4.34i KflopToKMotionCNCFunctions.c

Are you referencing an older Version?

Regards

TK


On 5/10/2017 5:22 AM, tmday88@... [DynoMotion] wrote:
 

Thanks for the extra work on this Tom. This was a good positive surprise to see at work this morning, i needed after blowing a drive on my Hurco retrofit last night at home(Still dont know what happened).

Video is great. This is like Editing "for Dummies". :) Except this dummy can not get the code placed in my main INIT file correctly :} I am getting the following error... tcc: undefined symbol 'GetEditControlDouble'

Attached is my INIT file if you can look at it.

Thanks again,
Troy


Group: DynoMotion Message: 14723 From: tmday7 Date: 5/10/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]
Maybe i need to stop trying so hard then ;)

I forgot on mill at work i have latest release and the test version 4.34i is using directories from the release version directories.
I copied the KflopToKMotionCNCFunctions.c from 4.34i to my machine C program folder and got no compile issues. :) Will have to wait till tomorrow to try it on machine at work.
Will let you know.
Thanks again,
Troy
Group: DynoMotion Message: 14725 From: tmday7 Date: 5/11/2017
Subject: Re: Slow Percent Box Screen Editor
Ok. New jog DRO works but none of my physical input button/switches work now. Does there need to be a different kind of wait loop in C program for switches and Jog DRO to work?

Troy
  @@attachment@@
Group: DynoMotion Message: 14733 From: Tom Kerekes Date: 5/11/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]

Hi Troy,

That brings to light some issues we hadn't considered.  The update takes about 0.5 seconds because it involves 5 commands to KMotionCNC and KMotionCNC only polls for a command ~ 10 times per second.  So dropping that in your loop which previously looped about 5000 times per second doesn't work (switch debounce time becomes huge).

Give us some time to figure out a solution.

Regards

TK


On 5/11/2017 4:20 AM, tmday88@... [DynoMotion] wrote:
 

Ok. New jog DRO works but none of my physical input button/switches work now. Does there need to be a different kind of wait loop in C program for switches and Jog DRO to work?

Troy


Group: DynoMotion Message: 14734 From: tmday7 Date: 5/11/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]
Ok. Hope i didnt open a can of worms for you. ;) No hurries. Wish i knew more so i could help out.
Thanks again,
Troy
Group: DynoMotion Message: 14744 From: Tom Kerekes Date: 5/13/2017
Subject: Re: Slow Percent Box Screen Editor

Hi Troy,

No this is something we'd like to work well.

Here is a patch that adds a mechanism that informs KFLOP whenever something is typed/changed in an edit control.  Every change increments a count (EditChangeCount) and the count is sent to KFLOP with every status update.  That way KFLOP can update the Jog Speeds only when the Operator changes something on the screen rather than all the time.

The patch involves:

 - A new KMotionCNC.exe

- New KFLOP Firmware that needs to be copied to the DSP_KFLOP directory and Flashed

- The example ScreenValueToJogSpeed.c changed  (please merge the modified UpdateJogSpeeds function into your Init C Program)

Here is the patch

http://dynomotion.com/Software/Patch/AddEditControlsChangeCountToKMotionCNC_V434i/

Please try it when you get some spare time.

Thanks
TK



On 5/11/2017 6:10 PM, tmday88@... [DynoMotion] wrote:
 

Ok. Hope i didnt open a can of worms for you. ;) No hurries. Wish i knew more so i could help out.
Thanks again,
Troy


Group: DynoMotion Message: 14748 From: tmday7 Date: 5/13/2017
Subject: Re: Slow Percent Box Screen Editor
Good to hear. It should be a good feature for KMCNC. Will give it a go Monday at work. Need to get my Hurco here at home going so i can test stuff. :)

Thanks again Tom
Troy
Group: DynoMotion Message: 14751 From: tmday7 Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Tom,
 Iam trying to compile my main INIT C program at my desktop PC and i get a error stating: C:\KMotion434i\C Programs\SimpleHome.c:38: 'EditChangeCount' undeclared
Attached is my C program.

Troy
  @@attachment@@
Group: DynoMotion Message: 14752 From: Tom Kerekes Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]

Hi Troy,

Oops.  Forgot to include the new KMotionDef.h which defines the EditChangeCount as an external integer.

It is now added with the patch files. Copy it over the old file in the DSP_KFLOP directory.

You should remove the 5ms delay in the loop.  Leave only the WaitNextTimeSlice() so the loop runs at your original rate (~every 180us)

Thanks
TK

On 5/15/2017 7:51 AM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,
 Iam trying to compile my main INIT C program at my desktop PC and i get a error stating: C:\KMotion434i\C Programs\SimpleHome.c:38: 'EditChangeCount' undeclared
Attached is my C program.

Troy


Group: DynoMotion Message: 14753 From: tmday7 Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor
Ok. After i added the new KMotionDef.h i got this error: tcc: undefined symbol 'EditChangeCount'

So i added to beginning of my C program: void EditChangeCount;
Is this correct? As i dont get any compile errors now.

Thanks,
Troy
Group: DynoMotion Message: 14754 From: Tom Kerekes Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor

Hi Troy,

Strange the new KMotionDef.h should have that defined in it.  Did you overwrite the original in the DSP_KFLOP directory?  If you open it in an editor does it contain:

extern int volatile EditChangeCount; 

void EditChangeCount; probably wont work.  You would need to add the line above to it references the external variable rather than creating something new and of the wrong type.

Thanks

TK


On 5/15/2017 10:55 AM, tmday88@... [DynoMotion] wrote:
 

Ok. After i added the new KMotionDef.h i got this error: tcc: undefined symbol 'EditChangeCount'

So i added to beginning of my C program: void EditChangeCount;
Is this correct? As i dont get any compile errors now.

Thanks,
Troy


Group: DynoMotion Message: 14756 From: tmday7 Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor
Yes i replaced the original KMotionDef.h in DSP_KFLOP directory. I checked and the line:
extern int volatile EditChangeCount;
is in file.
Does it matter that all my C programs that iam using are in there own folder within the C Programs directory?
Troy
Group: DynoMotion Message: 14757 From: Tom Kerekes Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor

Hi Troy,

Strange.  No it shouldn't matter where the C Program resides.

Try deleting or renaming the KMotionDef.h file and verify you get a file not found message to verify it is really using that file in that location.

The Compiler will search several locations for #include files but it should start with the DSP_KFLOP directory.

What is the exact directory path+name of the KMotionDef.h and the path of the KMotion.exe file?

Regards

TK


On 5/15/2017 11:43 AM, tmday88@... [DynoMotion] wrote:
 

Yes i replaced the original KMotionDef.h in DSP_KFLOP directory. I checked and the line:
extern int volatile EditChangeCount;
is in file.
Does it matter that all my C programs that iam using are in there own folder within the C Programs directory?
Troy


Group: DynoMotion Message: 14758 From: tmday7 Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor
Deleted and got file not found.
C:\KMotion434i\DSP_KFLOP\KMotionDef.h
C:\KMotion434i\KMotion\Release\KMotion.exe

Troy
Group: DynoMotion Message: 14759 From: tmday7 Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor
Forget to post error when deleting the KMotionDef.h.
C:\KMotion434i\C Programs\SimpleStepDir3AxisMill\KMotionCNCSimple3AxisStepDirV6.c:1: include file 'KMotionDef.h' not found
Group: DynoMotion Message: 14760 From: Tom Kerekes Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor

Hi Troy,

I was miss-reading the error message.  Actually the error message:

tcc: undefined symbol 'EditChangeCount'

Indicates that it was defined in the .h file and compiled correctly but when trying to link to the KFLOP Firmware DSPKFLOP.out file the firmware doesn't have that symbol defined.

Did you download and overwrite the patched file DSPKFLOP.out to the DSP_KFLOP directory keeping the same name?

Regards

TK



On 5/15/2017 12:24 PM, tmday88@... [DynoMotion] wrote:
 

Forget to post error when deleting the KMotionDef.h.
C:\KMotion434i\C Programs\SimpleStepDir3AxisMill\KMotionCNCSimple3AxisStepDirV6.c:1: include file 'KMotionDef.h' not found


Group: DynoMotion Message: 14761 From: tmday7 Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor
Dont know why but i copied and replaced the DSPKFLOP.out file again and now it compiles correctly. So i then tried it on my mill pc and compiled correctly. But after i replaced my KMotionCNC.exe i get the following erroe window when trying to launch KMotionCNC on both PCs:

KMotionCNC MFC Application
KMotionCNC Application has stopped working.

and another a Windows window with details :

Files that help describe the problem:
  C:\Users\Owner\AppData\Local\Temp\WERF54C.tmp.WERInternalMetadata.xml
  C:\Users\Owner\AppData\Local\Temp\WERBCA.tmp.appcompat.txt
  C:\Users\Owner\AppData\Local\Temp\WERC09.tmp.mdmp

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Thanks,
Troy
Group: DynoMotion Message: 14762 From: Tom Kerekes Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor

Hi Troy,

I found another mistake.  Please re-download KMotionCNC.exe from the Patch

Thanks

TK


On 5/15/2017 1:10 PM, tmday88@... [DynoMotion] wrote:
 

Dont know why but i copied and replaced the DSPKFLOP.out file again and now it compiles correctly. So i then tried it on my mill pc and compiled correctly. But after i replaced my KMotionCNC.exe i get the following erroe window when trying to launch KMotionCNC on both PCs:

KMotionCNC MFC Application
KMotionCNC Application has stopped working.

and another a Windows window with details :

Files that help describe the problem:
  C:\Users\Owner\AppData\Local\Temp\WERF54C.tmp.WERInternalMetadata.xml
  C:\Users\Owner\AppData\Local\Temp\WERBCA.tmp.appcompat.txt
  C:\Users\Owner\AppData\Local\Temp\WERC09.tmp.mdmp

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Thanks,
Troy


Group: DynoMotion Message: 14763 From: tmday7 Date: 5/15/2017
Subject: Re: Slow Percent Box Screen Editor
It launches here at home. :) Will try it out tomorrow at work on mill.
Thanks,
Troy
Group: DynoMotion Message: 14764 From: tmday7 Date: 5/16/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Tom,
New KMotionCNC.exe works on mill PC. All looks good so far. :) This will make manual jogging so much nicer, especially when indicating or using an edge finder and such.
Thanks again Tom,

Troy
Group: DynoMotion Message: 14765 From: tmday7 Date: 5/16/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Tom,
 One thing that might be added to this function. Before when the Shift was held down during a Keyboard jog axis would travel at fast feedrate or rapid feed rate. But, to me its not really needed, now that its easy to adjust feed on Main screen. Only a thought.

Thanks again,
Troy
Group: DynoMotion Message: 14766 From: Tom Kerekes Date: 5/16/2017
Subject: Re: Slow Percent Box Screen Editor

Hi Troy,

Thanks again for your patience and persistence with this.

We want that to work also.  But isn't it working as before?  There should be Slow and Fast Jog speeds which are selected either with the Keyboard arrow and shift.  Or by clicking the Slow or fast screen buttons with the mouse.  Slow is the configured percentage in Tool Setup of the fast (ie 25%).  My example set the Fast speed to move at the entered Feedrate on the screen.  So to move at the entered Feedrate you would need to click the Fast button or do Shift-Arrow.  So then the Operator has the option of the Specified Feedrate or Slower.  It sounds like you would prefer setting the Feedrate as the Slow rate which would then allow Shift-Arrow to be Faster.

Is that how it is working for you?

Regards

TK


On 5/16/2017 5:44 AM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,
 One thing that might be added to this function. Before when the Shift was held down during a Keyboard jog axis would travel at fast feedrate or rapid feed rate. But, to me its not really needed, now that its easy to adjust feed on Main screen. Only a thought.

Thanks again,
Troy


Group: DynoMotion Message: 14767 From: tmday7 Date: 5/16/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Tom,
Glad to help anyway i can. I really like to see KMotionCNC become its best for Industrial and Hobby users.

Just to clarify,
The way it works now example: Feed DRO on main screen set to 10IPM, percentage DRO on tool setup screen set to 50% gives a feed of 5IPM when using keyboard jog without shift key.
Then with shift key feedrate jog is 10IPM.

The way iam actually using Jog is set percentage DRO in tool setup to 100%. So what ever feed i put into feed DRO on main screen, the keyboard jog without shift will be the same. This way user doesn't have to worry about doubling feedrate  input into DRO or holding 2 keys on keyboard to get desired feedrate.
I have been using it like this today and works nice.

Troy
Group: DynoMotion Message: 14768 From: TKSOFT Date: 5/16/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Troy,

Thanks for the clear explaination.

Try this:

Set the percentage back to 50%. Then change the C program to double the
value it reads from the screen. Then the Arrow alone should do the
specified speed and shift-arrow should do double speed.

Regards
TK



On 2017-05-16 11:58, tmday88@... [DynoMotion] wrote:
> Hi Tom,
> Glad to help anyway i can. I really like to see KMotionCNC become its
> best for Industrial and Hobby users.
>
> Just to clarify,
> The way it works now example: Feed DRO on main screen set to 10IPM,
> percentage DRO on tool setup screen set to 50% gives a feed of 5IPM
> when using keyboard jog without shift key.
> Then with shift key feedrate jog is 10IPM.
>
> The way iam actually using Jog is set percentage DRO in tool setup to
> 100%. So what ever feed i put into feed DRO on main screen, the
> keyboard jog without shift will be the same. This way user doesn't
> have to worry about doubling feedrate input into DRO or holding 2
> keys on keyboard to get desired feedrate.
> I have been using it like this today and works nice.
>
> Troy
>
>
> Links:
> ------
> [1]
> https://groups.yahoo.com/neo/groups/DynoMotion/conversations/messages/14767;_ylc=X3oDMTJyZDJzNzA4BF9TAzk3MzU5NzE0BGdycElkAzE1ODU4MDAxBGdycHNwSWQDMTcwNjU1NDIwNQRtc2dJZAMxNDc2NwRzZWMDZnRyBHNsawNycGx5BHN0aW1lAzE0OTQ5NjExMDI-?act=reply&messageNum=14767
> [2]
> https://groups.yahoo.com/neo/groups/DynoMotion/conversations/newtopic;_ylc=X3oDMTJmZjRybjJ1BF9TAzk3MzU5NzE0BGdycElkAzE1ODU4MDAxBGdycHNwSWQDMTcwNjU1NDIwNQRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzE0OTQ5NjExMDI-
> [3]
> https://groups.yahoo.com/neo/groups/DynoMotion/conversations/topics/14704;_ylc=X3oDMTM3a2hvNWt2BF9TAzk3MzU5NzE0BGdycElkAzE1ODU4MDAxBGdycHNwSWQDMTcwNjU1NDIwNQRtc2dJZAMxNDc2NwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzE0OTQ5NjExMDIEdHBjSWQDMTQ3MDQ-
> [4] https://yho.com/1wwmgg
> [5]
> https://groups.yahoo.com/neo/groups/DynoMotion/info;_ylc=X3oDMTJmNzBxb2xxBF9TAzk3MzU5NzE0BGdycElkAzE1ODU4MDAxBGdycHNwSWQDMTcwNjU1NDIwNQRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzE0OTQ5NjExMDI-
> [6]
> https://groups.yahoo.com/neo/groups/DynoMotion/members/all;_ylc=X3oDMTJndG5hNWxkBF9TAzk3MzU5NzE0BGdycElkAzE1ODU4MDAxBGdycHNwSWQDMTcwNjU1NDIwNQRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxNDk0OTYxMTAy
> [7]
> https://groups.yahoo.com/neo;_ylc=X3oDMTJlN3RwMzZkBF9TAzk3NDc2NTkwBGdycElkAzE1ODU4MDAxBGdycHNwSWQDMTcwNjU1NDIwNQRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTQ5NDk2MTEwMg--
> [8] https://info.yahoo.com/privacy/us/yahoo/groups/details.html
> [9] https://info.yahoo.com/legal/us/yahoo/utos/terms/
Group: DynoMotion Message: 14769 From: tmday7 Date: 5/16/2017
Subject: Re: Slow Percent Box Screen Editor
That sounds like a simple solution. :) Nice. Will give it a go tomorrow.
Thanks again,
Troy
Group: DynoMotion Message: 14770 From: mmurray70@hotmail.com Date: 5/16/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Tom,

Will this be added into future releases of Kmotioncnc or do we need to use screen editor to use this feature? An easier way of setting Jog rate would be a nice feature for sure. Thanks again.

Mark


Group: DynoMotion Message: 14771 From: tmday7 Date: 5/17/2017
Subject: Re: Slow Percent Box Screen Editor
Hi Tom,
 What should i change in C program? I tried changing this:
if (rate < 0.0) rate=0.0;
if (rate > 1.0) rate=1.0;

to this:

if (rate < 0.0) rate=0.0;
if (rate > 1.0) rate=2.0;

But nothing changed in KMotionCNC. I also tried C Program without the above lines and it made no difference in KMotionCNC. Attached is my C program.

Troy
  @@attachment@@
Group: DynoMotion Message: 14772 From: Tom Kerekes Date: 5/17/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]
Hi Troy,

No that's where we check if he entered too big of a number and if more than 100% of what is set in Tool Setup limit it to 100%. 

Instead change:
if (GetEditControlDouble(&rate, 170, 1000)) return;  // exit if value is invalid
To
if (GetEditControlDouble(&rate, 170, 1000)) return;  // exit if value is invalid
rate = rate * 2.0;  // double the entered rate so slow (50%) Jogs at the entered rate

Regards
TK

On May 17, 2017, at 5:12 AM, tmday88@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi Tom,
 What should i change in C program? I tried changing this:
if (rate < 0.0) rate=0.0;
if (rate > 1.0) rate=1.0;

to this:

if (rate < 0.0) rate=0.0;
if (rate > 1.0) rate=2.0;

But nothing changed in KMotionCNC. I also tried C Program without the above lines and it made no difference in KMotionCNC. Attached is my C program.

Troy

Group: DynoMotion Message: 14773 From: tmday7 Date: 5/17/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]
That got it working. :)

Something other users might want is a faster than 2 X the entered Feed rate when using Arrow+Shift.
Example Using an edge finder:
Hold Arrow+Shift to Jog axes at a fast rate to position near part. Then jog with Arrow only to get closer to part at feed rate entered (normally a slow feedrate like 2-3IPM). Then use Arrow+Ctrl to increment into side of part until edge is found.
Then jog axis away and use Arrow+Shift to position to next edge of part and repeat above.

This helps when you have a large part and need to jog at a faster rate. When edge finding, a good practice is to find edge near middle of part edge not on a corner, if part geometry allows it.So if we found first edge on X axis at 2 IPM and needed to jog 20" in X to be about middle of a 40" part for edge finding in Y axis. We would use Arrow+Shift and would only be traveling at 4 IPM. Would take a little while to get there. ;) Some controls have an option to Jog at Rapid.
This is just a typical scenario and would not cover all, but would be a good default.

That said,I personally think its safer to have user input a faster Jog feed if needed. As user can easily "fat finger" and hit shift key when trying to jog at slow rate to part then there goes a tool,part, etc. :(

Maybe have Arrow+Shift as an screen option and not as default?

One more. When KMotionCNC is first launched the Jog Feed defaults to machines fastest feedrate, the Jog DRO on main screen is blank also.

Sorry for lengthy post. Had to keep ball running for a minute to think out loud ;)

Thanks,
Troy
Group: DynoMotion Message: 14774 From: mmurray70@hotmail.com Date: 5/17/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]
Troy, you should really look into adding a handheld MPG to your machine. Makes setup so much safer and easier. I cant imagine having to find all my origins with jog buttons. We still need this jog speed feature though, so im glad you guys are working on it. Will it be included in new versions of kmotion Tom? I wouldnt mind trying it but i couldnt seem to get screen editor to work with my version of windows 7 and i dont really have much extra time to mess with it. Thanks.

Mark






Group: DynoMotion Message: 14775 From: tmday7 Date: 5/17/2017
Subject: Re: Slow Percent Box Screen Editor [1 Attachment]
Hi Mark,
 I plan to down the road to add an MPG to this machine at work. Need to do some other stuff first. Right now getting it functional with what i got and simple as i can for users at work. Either way will be a good standard feature to have in KMCNC.

Troy